package com.cy.device.model;

/**
 * @author: jiangwang
 * @created: 2023/10/23 16:20
 */
public class DeviceConfigGetAck {

    private String id;
    private Long timestamp;
    private Integer messageId;
    private Boolean success;
    private Integer code;
    private String message;
    private DeviceConfigSet properties;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DeviceConfigSet getProperties() {
        return properties;
    }

    public void setProperties(DeviceConfigSet properties) {
        this.properties = properties;
    }

    @Override
    public String toString() {
        return "DeviceConfigGetAck{" +
                "id='" + id + '\'' +
                ", timestamp=" + timestamp +
                ", messageId=" + messageId +
                ", success='" + success + '\'' +
                ", code=" + code +
                ", message='" + message + '\'' +
                ", properties=" + properties +
                '}';
    }
}
